<template>
  <nm-login :options="options" />
</template>
<script>
import api from '@api/account'
export default {
  data() {
    return {
      options: {
        actions: {
          getVerifyCode() {
            return new Promise(resolve => {
              resolve({ 'id': '8805ac775abc4801829ab6b3d39a1d4b', 'base64String': '' })
            })
          },
          login(params) {
            return new Promise(resolve => {
              api.login(params)
              resolve()
            })
          }
        },
        // 登录页类型
        type: 'default',
        // 登录账户类型选项
        accountTypeOptions: null
      }
    }
  }
}
</script>
